package com.yeyks.hotel.param;

import com.yeyks.common.annotation.PhoneCheck;
import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author fuchangshuai
 * @date 2019/06/28 14:58
 */
@Data
public class HotelApplyParam {
    @StrNotEmpty(message = "酒店名称不能为空")
    @ApiModelProperty(value = "酒店名称")
    private String hotelName;
    @StrNotEmpty(message = "省份代码不能为空")
    @ApiModelProperty(value = "省份代码")
    private String provinceCode;
    @StrNotEmpty(message = "市代码不能为空")
    @ApiModelProperty(value = "市代码")
    private String cityCode;
    @StrNotEmpty(message = "区县代码不能为空")
    @ApiModelProperty(value = "区县代码")
    private String countryCode;
    @StrNotEmpty(message = "酒店位置不能为空")
    @ApiModelProperty(value = "酒店位置")
    private String hotelArea;
    @StrNotEmpty(message = "酒店详细地址不能为空")
    @ApiModelProperty(value = "酒店详细地址")
    private String hotelAddress;
    @StrNotEmpty(message = "联系人不能为空")
    @ApiModelProperty(value = "联系人")
    private String contactName;
    @PhoneCheck(groups = PhoneCheck.class)
    @ApiModelProperty(value = "联系人手机号")
    private String phone;
    @StrNotEmpty(message = "营业执照图片不能为空")
    @ApiModelProperty(value = "营业执照图片")
    private String pic;
}
